
<script type="text/html" id="module-name">form/loginForm</script>

<form role="form" class="form-signin js_login_form" action="/guser/login"
	method="post">
	<h2 class="form-signin-heading">Please sign in</h2>
	<?php if(isset($result) && $result === 'failure') {?>
		<p class="alert alert-danger">You have entered wrong username and
		password. Please try again.</p>
    <?php }?>


	<input type="email" autofocus="" required="" name="email"
		placeholder="Email address" class="form-control js_email"> 
		
		<div class="alert alert-danger js_emailError" role="alert"
				style="display: none">Please enter your email.</div>
				
		<input
		type="password" required="" placeholder="Password" name="password"
		class="form-control js_pass"> <label class="checkbox"> 
		
		<div class="alert alert-danger " role="alert" id="passwordError"
				style="display: none">Please enter your email.</div>
				
		
		<input
		type="checkbox" value="remember-me"> Remember me
	</label>
    <a class="btn btn-success js_submit" href="#" id="btn-login">Sign in </a>
	or <a href="/guser/signupGet">Signup</a>
	<?php if(isset($result)  && $result === 'failure') {?>
		<p class="">
		<a href="/guser/forgotPassword">Forgot your password?</a>
	</p> 
    <?php }?>
	
</form>
<?php
$env = getenv('APP_ENV') ?: 'production';
if($env != 'production') {
    echo '<script data-main="/js/app" src="/js/lib/require.js"></script>';
}
?>
